<?php
$INVOICE_TEMPLATE = "
<div style='width: 100%;'>
    <div style='width: 900px; border: 1px solid #000; padding: 25px; margin-left: auto; margin-right: auto;'>
        <table width='100%'>
            <tr>
                <td valign='top'>
                    <table width='550px'>
                        <tr>
                            <td>
                                {SHOP_NAME_AND_LOGO}
                            </td>
                        </tr>
                        <tr>
                            <td style='font-size: 14pt;'>
                                {SHOP_ADDRESS=1}
                            </td>
                        </tr>
                        <tr>
                            <td style='font-size: 14pt;'>
                                {SHOP_ADDRESS=2}
                            </td>
                        </tr>
                        <tr>
                            <td style='font-size: 14pt;'>
                                {SHOP_ADDRESS=3}
                            </td>
                        </tr>
                        <tr>
                            <td style='font-size: 14pt;'>
                                {SHOP_ADDRESS=4}
                            </td>
                        </tr>
                        <tr>
                            <td style='font-size: 14pt;'>
                                {VAT_NUMBER}
                            </td>
                        </tr>
                    </table>
                </td>
                <td valign='top'>
                    <table width='300px;' border='0' cellpadding='0' cellspacing='0'>
                        <tr>
                            <td>
                                <div style='background-image: url(images/ordernumber.png); background-repeat: no-repeat; height: 39px; width: 270px;
                                padding-top: 8px; padding-left: 15px; padding-right: 15px; font-size: 14pt; font-weight: bold; text-align: center;'>
                                    {ORDER_NUMBER}
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td height='50'>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style='border: 1px solid #828282;'>
                                <div style='width: 100%; height: 30px; text-align: center; font-size: 14pt;
                                padding-top: 10px;'>
                                    {ORDER_DATE}
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td height='50'>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style='border: 1px solid #828282;'>
                                <div style='width: 100%; height: 30px; text-align: center; font-size: 14pt;
                                padding-top: 10px;'>
                                    {PAYMENT_METHOD}
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style='padding-top: 10px;'>
                    {OFFLINE_PAYMENT}
                </td>
                <td>
                    {CUSTOMER_DATA}
                </td>
            </tr>
            <tr>
                <td colspan='2' style='padding-top: 20px;'>
                    {INVOICE_DATA}
                </td>
            </tr>
            <tr>
                <td>
                    <div style='padding: 10px;'>
                        {$shop_settings['invoice_bottom_line1']}<br />
                        {$shop_settings['invoice_bottom_line2']}<br />
                        {$shop_settings['invoice_bottom_line3']}<br />
                        {$shop_settings['invoice_bottom_line4']}<br />
                        {$shop_settings['invoice_bottom_line5']}<br />
                        {$shop_settings['invoice_bottom_line6']}<br />
                        {$shop_settings['invoice_bottom_line7']}<br />
                    </div>
                </td>
                <td valign='bottom'>
                    {PRICE_DETAILS}
                </td>
            </tr>
        </table>
    </div>
</div>
";
